# -*- coding: utf-8 -*-
from config.database import Base

from sqlalchemy import Column, Integer, BigInteger, String, DateTime

class TbPermision(Base):
    __tablename__ = 'tb_permision'

    id = Column(BigInteger, primary_key=True, comment='主键ID')
    parent_id = Column(BigInteger, default=0, comment='父级ID')
    name =  Column(String(128), comment='权限名称')
    desc =  Column(String(256), comment='权限描述')
    status = Column(Integer, default=1, comment='状态 0:禁用 1:启用') # 0:禁用 1:启用